package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

public interface ShoppingCartService {
    @Transactional
    void addShopingCart(ShoppingCartDTO shoppingCartDTO);

    /**
     *
     * 查看购物车
     * @return
     */
    List<ShoppingCart> showShoppingCart();

    void clean();
}
